#include<opencv4/opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
class Predictor{
   public:
   
    void predictor(float, float);
    float t=0;
    float dt;  
    float get_yaw();
    float get_pitch();
    private:  
    double xerr_predicted,yerr_predicted;
    double xerr, yerr;
    Mat showcom=Mat::zeros(1000,1000,CV_32F);
    bool firstrun=1;
    float vx,vy,ax,ay;
    float lastvx=0,lastvy=0;
    float lastx=0,lasty=0;
   
};
